package com.agent.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("tenant")
public class Tenant {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String tenantId;
    private String tenantName;
    private String contactName;
    private String contactEmail;
    private String contactPhone;
    private String status;
    private Integer quotaAgents;
    private Integer quotaTasks;
    private Integer quotaWorkflows;
    private LocalDateTime expireTime;
    
    @TableLogic
    private Integer deleted;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
